package com.google.code.mircle.plugins.subscriptions;

import java.awt.BorderLayout;

import javax.swing.DefaultListModel;
import javax.swing.JList;
import javax.swing.JPanel;

import com.google.code.mircle.core.View;

public class EchoMskRSSView extends JPanel implements View {

    public EchoMskRSSView(EchoMskRSSModel s) {
        super(new BorderLayout());

        DefaultListModel listModel = new DefaultListModel();
        listModel.addElement("Channel element 1");
        listModel.addElement("Channel element 2");
        listModel.addElement(s.toString());

        JList l = new JList(listModel);
        add(l, BorderLayout.CENTER);
    }
}
